<?php
namespace app\miniprogram\controller;

/**
 * 团购获取表
 */
class GroupBuying extends Base
{
	protected $process = 'GroupBuying';
	//成为团长
    public function add() {
        $this->ajax_process(function($process, $user) {
        	return $process->add($user); 
        });
    }

    //推广人员列表
    public function list() {
    	$this->ajax_process(function($process, $user) {
        	return $process->list($user); 
        });
    }
}
